Skip to content

generateAudioSubtitles.linkToFile ffmpeg error #238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nicholas678 opened this issue May 27, 2025 · 1 comment
Open

generateAudioSubtitles.linkToFile ffmpeg error #238

nicholas678 opened this issue May 27, 2025 · 1 comment

Comments

@nicholas678
Copy link

2025-05-27T16:03:11.703+0800 error service/subtitle_service.go:138 StartVideoSubtitleTask linkToFile err {"req": {"app_id":0,"url":"local:./uploads/新編啟思中國語文(第三版)_video.mp4","origin_lang":"en","target_lang":"zh_cn","bilingual":1,"translation_subtitle_pos":1,"modal_filter":1,"tts":2,"tts_voice_code":"","tts_voice_clone_src_file_url":"","replace":null,"language":"zh_cn","embed_subtitle_video_type":"none","vertical_major_title":"","vertical_minor_title":"","origin_language_word_one_line":0}, "error": "generateAudioSubtitles.linkToFile ffmpeg error: exit status 0xbebbb1b7"}
[GIN] 2025/05/27 - 16:03:13 |�[97;42m 200 �[0m| 250.1µs | 127.0.0.1 |�[97;44m GET �[0m "/api/capability/subtitleTask?taskId=新編啟思中國語文第三版vi_78mQ"
2025-05-27T16:03:13.352+0800 error desktop/subtitle.go:745 获取任务状态失败 {"msg": "任务失败,原因:generateAudioSubtitles.linkToFile ffmpeg error: exit status 0xbebbb1b7"}

@nicholas678
Copy link
Author

{"level":"info","ts":"2025-05-27T18:20:41.903+0800","caller":"config/config.go:177","msg":"已找到配置文件,从配置文件中加载配置"}
{"level":"info","ts":"2025-05-27T18:20:41.905+0800","caller":"service/init.go:47","msg":"当前选择的转录源: ","transcriber":"fasterwhisper"}
{"level":"info","ts":"2025-05-27T18:20:41.906+0800","caller":"server/server.go:25","msg":"服务启动","host":"127.0.0.1","port":8888}
{"level":"info","ts":"2025-05-27T18:20:56.992+0800","caller":"deps/checker.go:87","msg":"已找到ffmpeg"}
{"level":"info","ts":"2025-05-27T18:20:57.011+0800","caller":"deps/checker.go:156","msg":"已找到ffprobe"}
{"level":"info","ts":"2025-05-27T18:20:57.029+0800","caller":"deps/checker.go:224","msg":"已找到ytdlp"}
{"level":"info","ts":"2025-05-27T18:20:57.029+0800","caller":"deps/checker.go:314","msg":"faster-whisper检查完成","路径":"./bin/faster-whisper/Faster-Whisper-XXL/faster-whisper-xxl.exe"}
{"level":"info","ts":"2025-05-27T18:20:57.031+0800","caller":"deps/checker.go:451","msg":"模型检查完成","路径":"./models/faster-whisper-large-v2/model.bin"}
{"level":"info","ts":"2025-05-27T18:20:57.031+0800","caller":"server/server.go:32","msg":"服务关闭"}
{"level":"info","ts":"2025-05-27T18:20:57.031+0800","caller":"server/server.go:47","msg":"服务已成功关闭"}
{"level":"info","ts":"2025-05-27T18:20:57.032+0800","caller":"service/init.go:47","msg":"当前选择的转录源: ","transcriber":"fasterwhisper"}
{"level":"info","ts":"2025-05-27T18:20:57.032+0800","caller":"server/server.go:25","msg":"服务启动","host":"127.0.0.1","port":8888}
{"level":"info","ts":"2025-05-27T18:20:58.031+0800","caller":"service/subtitle_service.go:122","msg":"current task info","taskId":"新編啟思中國語文第三版vi_rmSq","param":{"TaskId":"新編啟思中國語文第三版vi_rmSq","TaskPtr":{"id":0,"task_id":"新編啟思中國語文第三版vi_rmSq","title":"","description":"","translated_title":"","translated_description":"","origin_language":"","target_language":"","video_src":"local:./uploads/新編啟思中國語文(第三版)_video.mp4","status":1,"last_success_step_num":0,"fail_reason":"","process_percent":0,"duration":0,"srt_num":0,"SubtitleInfos":null,"cover":"","speech_download_url":"","create_time":0,"update_time":0},"TaskBasePath":"tasks\新編啟思中國語文第三版vi_rmSq","Link":"local:./uploads/新編啟思中國語文(第三版)_video.mp4","AudioFilePath":"","SmallAudios":null,"SubtitleResultType":3,"EnableModalFilter":true,"EnableTts":false,"TtsVoiceCode":"","VoiceCloneAudioUrl":"","ReplaceWordsMap":{},"OriginLanguage":"en","TargetLanguage":"zh_cn","UserUILanguage":"zh_cn","BilingualSrtFilePath":"","ShortOriginMixedSrtFilePath":"","SubtitleInfos":null,"TtsSourceFilePath":"","TtsResultFilePath":"","InputVideoPath":"","EmbedSubtitleVideoType":"none","VerticalVideoMajorTitle":"","VerticalVideoMinorTitle":"","MaxWordOneLine":12,"VideoWithTtsFilePath":""}}
{"level":"info","ts":"2025-05-27T18:20:58.031+0800","caller":"service/subtitle_service.go:135","msg":"video subtitle start task","taskId":"新編啟思中國語文第三版vi_rmSq"}
{"level":"error","ts":"2025-05-27T18:20:58.309+0800","caller":"service/link2file.go:33","msg":"generateAudioSubtitles.linkToFile ffmpeg error","step param":{"TaskId":"新編啟思中國語文第三版vi_rmSq","TaskPtr":{"id":0,"task_id":"新編啟思中國語文第三版vi_rmSq","title":"","description":"","translated_title":"","translated_description":"","origin_language":"","target_language":"","video_src":"local:./uploads/新編啟思中國語文(第三版)_video.mp4","status":1,"last_success_step_num":0,"fail_reason":"","process_percent":3,"duration":0,"srt_num":0,"SubtitleInfos":null,"cover":"","speech_download_url":"","create_time":0,"update_time":0},"TaskBasePath":"tasks\新編啟思中國語文第三版vi_rmSq","Link":"local:./uploads/新編啟思中國語文(第三版)_video.mp4","AudioFilePath":"","SmallAudios":null,"SubtitleResultType":3,"EnableModalFilter":true,"EnableTts":false,"TtsVoiceCode":"","VoiceCloneAudioUrl":"","ReplaceWordsMap":{},"OriginLanguage":"en","TargetLanguage":"zh_cn","UserUILanguage":"zh_cn","BilingualSrtFilePath":"","ShortOriginMixedSrtFilePath":"","SubtitleInfos":null,"TtsSourceFilePath":"","TtsResultFilePath":"","InputVideoPath":"./uploads/新編啟思中國語文(第三版)_video.mp4","EmbedSubtitleVideoType":"none","VerticalVideoMajorTitle":"","VerticalVideoMinorTitle":"","MaxWordOneLine":12,"VideoWithTtsFilePath":""},"output":"ffmpeg version 6.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers\r\n built with gcc 12.2.0 (Rev10, Built by MSYS2 project)\r\n configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint\r\n libavutil 58. 29.100 / 58. 29.100\r\n libavcodec 60. 31.102 / 60. 31.102\r\n libavformat 60. 16.100 / 60. 16.100\r\n libavdevice 60. 3.100 / 60. 3.100\r\n libavfilter 9. 12.100 / 9. 12.100\r\n libswscale 7. 5.100 / 7. 5.100\r\n libswresample 4. 12.100 / 4. 12.100\r\n libpostproc 57. 3.100 / 57. 3.100\r\n[mov,mp4,m4a,3gp,3g2,mj2 @ 000002146aa8a4c0] Detected creation time before 1970, parsing as unix timestamp.\r\n Last message repeated 1 times\r\n[mov,mp4,m4a,3gp,3g2,mj2 @ 000002146aa8a4c0] Duplicated SDTP atom\r\n Last message repeated 4 times\r\n[mov,mp4,m4a,3gp,3g2,mj2 @ 000002146aa8a4c0] error reading header\r\n[in#0 @ 000002146aa8a300] Error opening input: Invalid data found when processing input\r\nError opening input file ./uploads/新編啟思中國語文(第三版)_video.mp4.\r\nError opening input files: Invalid data found when processing input\r\n","error":"exit status 0xbebbb1b7"}
{"level":"error","ts":"2025-05-27T18:20:58.309+0800","caller":"service/subtitle_service.go:138","msg":"StartVideoSubtitleTask linkToFile err","req":{"app_id":0,"url":"local:./uploads/新編啟思中國語文(第三版)_video.mp4","origin_lang":"en","target_lang":"zh_cn","bilingual":1,"translation_subtitle_pos":1,"modal_filter":1,"tts":2,"tts_voice_code":"","tts_voice_clone_src_file_url":"","replace":null,"language":"zh_cn","embed_subtitle_video_type":"none","vertical_major_title":"","vertical_minor_title":"","origin_language_word_one_line":0},"error":"generateAudioSubtitles.linkToFile ffmpeg error: exit status 0xbebbb1b7"}
{"level":"error","ts":"2025-05-27T18:21:00.049+0800","caller":"desktop/subtitle.go:745","msg":"获取任务状态失败","msg":"任务失败,原因:generateAudioSubtitles.linkToFile ffmpeg error: exit status 0xbebbb1b7"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant